package com.ourteam.product.requirement.dao;

import net.dao.IDataAccessInterface;


/**
 * Template Name : DAO接口模板
 * Template Version : 1
 * Template Last Modfiy Date : Thu Sep 21 11:14:14 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:09
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public interface IBaseProductDefineDAO extends IDataAccessInterface<ProductDefine, ProductDefineDAOQueryBean> {
    /**
        *  Mapped Entity Name
        */
    static final String EntityName = "PRODUCT_DEFINE";

    /**
     * Mapped Field ID
    */
    static final String Id = "PRODUCT_DEFINE.ID";

    /**
     * Mapped Field CATALOG_ID
    */
    static final String CatalogId = "PRODUCT_DEFINE.CATALOG_ID";

    /**
     * Mapped Field PRODUCT_CODE
    */
    static final String ProductCode = "PRODUCT_DEFINE.PRODUCT_CODE";

    /**
     * Mapped Field PRODUCT_NAME
    */
    static final String ProductName = "PRODUCT_DEFINE.PRODUCT_NAME";

    /**
     * Mapped Field REMARKS
    */
    static final String Remarks = "PRODUCT_DEFINE.REMARKS";

    /**
     * Mapped Field STATUS
    */
    static final String Status = "PRODUCT_DEFINE.STATUS";

    /**
     * Mapped Field SUBMITTER_ID
    */
    static final String SubmitterId = "PRODUCT_DEFINE.SUBMITTER_ID";

    /**
     * Mapped Field CREATOR_NAME
    */
    static final String CreatorName = "PRODUCT_DEFINE.CREATOR_NAME";

    /**
     * Mapped Field CREATE_TIME
    */
    static final String CreateTime = "PRODUCT_DEFINE.CREATE_TIME";

    /**
     * Mapped Field LAST_MODIFIER_NAME
    */
    static final String LastModifierName = "PRODUCT_DEFINE.LAST_MODIFIER_NAME";

    /**
     * Mapped Field LAST_MODIFY_TIME
    */
    static final String LastModifyTime = "PRODUCT_DEFINE.LAST_MODIFY_TIME";

    /**
     * Delete Data
     * @param final long id
     * @throws Exception
     */
    void delete(final long id) throws Exception;

    /**
         * Find Data By Primary Key
         * @param  final long id
         * @throws Exception
         */
    ProductDefine findById(final long id) throws Exception;

    /**
         * Query Related ProductVersion
         * @param aQueryBean
         * @throws Exception
         */
    com.ourteam.product.requirement.dao.ProductVersion[] queryProductVersion(
        final ProductDefineDAOQueryBean queryBean) throws Exception;

    /**
         * Query Related ProductVersion Selective
         * @param queryBean
         * @throws Exception
         */
    java.util.Map<String, Object>[] queryProductVersionSelective(
        final ProductDefineDAOQueryBean queryBean) throws Exception;

    /**
         * Update Related ProductVersion
         * @param aProductVersion
         * @param queryBean
         * @throws Exception
         */
    void updateProductVersion(
        final com.ourteam.product.requirement.dao.ProductVersion aProductVersion,
        ProductDefineDAOQueryBean queryBean) throws Exception;

    /**
         * Delete Related ProductVersion
         * @param queryBean
         * @throws Exception
         */
    void deleteProductVersion(final ProductDefineDAOQueryBean queryBean)
        throws Exception;

    static public interface DataProperty {
        /**
         * Attribute id
         */
        static final String Id = "id";

        /**
         * Attribute catalogId
         */
        static final String CatalogId = "catalogId";

        /**
         * Attribute productCode
         */
        static final String ProductCode = "productCode";

        /**
         * Attribute productName
         */
        static final String ProductName = "productName";

        /**
         * Attribute remarks
         */
        static final String Remarks = "remarks";

        /**
         * Attribute status
         */
        static final String Status = "status";

        /**
         * Attribute submitterId
         */
        static final String SubmitterId = "submitterId";

        /**
         * Attribute creatorName
         */
        static final String CreatorName = "creatorName";

        /**
         * Attribute createTime
         */
        static final String CreateTime = "createTime";

        /**
         * Attribute lastModifierName
         */
        static final String LastModifierName = "lastModifierName";

        /**
         * Attribute lastModifyTime
         */
        static final String LastModifyTime = "lastModifyTime";
    }

    static public interface _DataObjectProperty extends DataProperty {
    }
}
